package com.zhida.smartcontrol.common.mapsel;

import com.baidu.mapapi.map.BaiduMap;
import com.zhida.smartcontrol.mvp.BasePresenter;
import com.zhida.smartcontrol.mvp.BaseView;

public class MapSelContract {
    interface View extends BaseView {
        void showLatLng(BaiduAddressBean.ResultBean result);
    }

    interface Presenter extends BasePresenter<View> {
        void initBaiduMap(BaiduMap baiduMap);

        void startLocation();

        void stopLocation();

        void setMyLocationEnabled(boolean enabled);

        void findAddress(double lat, double lng);

    }
}
